package com.zsr.example.dto.session;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author zhousiren
 * @date 2022/2/17 10:30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class WebsocketMessageDTO {
    /**
     * 类型
     */
    private Integer type;

    /**
     * 接收方
     */
    private String to;

    /**
     * 数据
     */
    private Object data;
}
